View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - How is computed the variable ${url} in the mails templates? - ProjeQtOr
 
 

How is computed the variable ${url} in the mails templates?

More
18 Mar 2024 13:01 - 19 Mar 2024 14:48 #1 by MagicBuzz
Hello,

We are using the variable ${url} in the mails templates to add a direct link to the item (Ticket).

But the URI is :

https://http//server and path to ticket

I think the problem is about the way we host ProjeQtOr, as I already had similar issues with other programs.
Our ProjeQtOr server doesn't handle HTTPS, but we use a reverse proxy that actually forward the trafic using HTTPS.

As a result, the ProjeQtOr's server works with HTTP and doesn't have clue of the HTTPS provided by the reverse proxy.

So I think the defaut value is "http://server and path to ticket" and in the link as we set "https://" as prefix, it simply adds it in front of the http://

Is there a way to tell ProjeQtOr it is behind a reverse proxy so we actually use https:// even if the server itselft doesn't handle it?
Last edit: 19 Mar 2024 14:48 by MagicBuzz.

Please Log in or Create an account to join the conversation.

More
18 Mar 2024 15:15 #2 by babynus
Try and add in parameters.php

$paramHttps='on'; 


Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
19 Mar 2024 15:25 #3 by MagicBuzz
Hello Babynus,

I tried to add this parameter, but it looks like it has no effect.

I found a workarround by updating the links in the mails models and removed the prefix "https://".
As a result, I have a link "http://path to ticket".
Next, on the reverse proxy I added a redirection rule http://* => https://* and it works fine.

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.036 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.